// Copyright (c) 2006 Zorm
// Released under the MIT License

#ifndef GLCONTEXT_H
#define GLCONTEXT_H

class GLContext {

public:
	GLContext(HWND winHWND) : m_windowHWND(winHWND) { m_centerx = 0; m_centery = 0; }
	bool Init();
	void Swap();
	void Resize(int width, int height);
	void DrawString(int latitude, int longitude, char *text);
	
private:
	HWND m_windowHWND;
    HDC m_windowDC;
    HGLRC m_windowRC;
    double m_centerx, m_centery;
    GLuint m_fontBase;

};

#endif
